<template>
  <div class="filter-link"><a href="#/all" class="selected"><slot></slot></a></div>
</template>

<script>
export default {
  name: "FilterLink",
};
</script>

<style lang="scss" scoped>
.filter-link {
  display: inline;

  a {
    color: inherit;
    margin: 3px;
    padding: 3px 7px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;

    &.selected {
        border-color: rgba(175, 47, 47, 0.2);
    }

    &:hover {
        border-color: rgba(175, 47, 47, 0.1);
    }
  }
}
</style>
